package lormi.meipin.entity;

import java.util.Date;

public class InvitationCode {
	
    private Integer id;

    private Integer userid;

    private Integer code;

    private Date createtime;
    
    public InvitationCode() {
		super();
	}

	public InvitationCode(Integer userid,Integer code){
    	this.code=code;
    	this.userid=userid;
    	this.createtime=new Date();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}